package com.aaa.mapper;

import com.aaa.common.domain.ContractInfo;
import com.aaa.common.domain.RenterInfo;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 宋文森
 * @Date: 2021/01/25/18:22
 * @Description:  合同管理的信息Mapper映射接口
 */
@Repository
public interface OwnAssetsContractInfoMapper extends BaseMapper<ContractInfo> {

      <Page extends IPage<ContractInfo>> Page  listContract(Page page);
    <Page extends IPage<ContractInfo>> Page conditionalQuery(Page page, @Param("contractId") String contractId,@Param("assetId") String assetId,@Param("lessee") String lessee,@Param("companyName") String companyName,@Param("contractStatusId") Integer contractStatusId);
    Integer insertRenter(RenterInfo renterInfo);
}
